package com.example.mapper;

import com.example.entity.Messages;

import java.util.List;

public interface MessagesMapper {

    long insert(Messages messages);

    long updateReadStatus(Integer userId);

    List<Messages> selectAll(Messages messages);

    Messages selectById(Integer id);

    long deleteById(Integer id);
}
